package sparrowGui.i
{
	import flash.display.DisplayObject;

	public interface IItem extends IMgrUICompent
	{
		/**
		 * 更新数据
		 */
		function update(o:Object):void;
		/**
		 * 用字符改变状态可以解耦，比如在列表中想要添新状态可以继承SItem,SList 
		 * @param stateName
		 */
		function setState(stateName:String,value:Object=null):void;
		function get skin():DisplayObject;
		/**
		 * 项数据
		 */
		function get itemData():Object;
		
		
		/**
		 * 销毁对象
		 
		function dispose():void;
		function get selected():Boolean;
		function set selected(value:Boolean):void;
		function set name(value:String):void;
		function get name():String;*/
	}
}